package com.fengmi.api.cart;

import com.fengmi.cart.Cart;
import com.fengmi.comm.ResultVO;
import com.fengmi.sso.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
@FeignClient("fengmi-cart")
@RequestMapping("cart")
public interface CartApi {

    @RequestMapping("updateCartNew")
    public ResultVO updateCartNew(@RequestHeader("user") String sysUser,@RequestBody List<Cart> carts);
}
